<div class="container_12 content-wrapper">
	<div class="grid_9">
    	<h2>Edit Account</h2>
        <?php flash();?>
		<?php echo form_open('home/edit_account'); ?>
		<div class="input-block"><?php f_input('firstname', $user->firstname);?></div>
		<div class="input-block"><?php f_input('lastname', $user->lastname);?></div>
        <div class="input-block"><?php f_input('contact', $user->contact);?></div>
        <div class="input-block"><?php f_input('email', $user->email);?></div>
		 <?php echo form_submit(array('name' => 'save', 'value' => 'Save', 'class' => 'dbtn'));?>
        
        <?php echo form_close();?>
        
        <a href="<?php echo site_url('home/my_account');?>" class="back-btn"><span>Back</span></a>
    </div>
    <div class="grid_3">
    	<?php echo $this->load->view('layouts/menu/_customer', TRUE);?>
    </div>
</div>